package com.li.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.li.domain.UploadFile;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UploadFileMapper extends BaseMapper<UploadFile> {
    List<UploadFile> listPageUploadFile(@Param("uploadFile") UploadFile uploadFile,
                                        @Param("indexPage") Integer indexPage,
                                        @Param("limit")Integer limit);

    Integer listPageUploadFileCount(@Param("uploadFile") UploadFile uploadFile);
}